package com.ruoyi.gbase.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.gbase.domain.GbaseTableInfo;
import com.ruoyi.gbase.domain.DbColumns;
import com.ruoyi.gbase.mapper.GbaseUtilMapper;
import com.ruoyi.gbase.service.IGbaseUtilService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * link中信息Service业务层处理
 * 
 * @author yys
 * @date 2020-06-30
 */
@Service
@DataSource(value = DataSourceType.GBASE)
public class GbaseUtilServiceImpl implements IGbaseUtilService
{
    @Autowired
    private GbaseUtilMapper gbaseUtilMapper;

    @Override
    public List<GbaseTableInfo> selectGbaseTableInfoList()
    {
        return gbaseUtilMapper.selectGbaseTableInfoList();
    }

    @Override
    public List<DbColumns> selectGbaseColumnInfoList(DbColumns dbColumns)
    {
        return gbaseUtilMapper.selectGbaseColumnInfoList(dbColumns);
    }


}
